<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
		<%
			PayList pl = (PayList) request.getAttribute("PayListInfo");
			if (pl != null) {
		%>
		<section class="boxs">
			<div class="boxs-header">
				<h3 class="custom-font hb-blue">
					<strong>处方详情 </strong><%=String.format("PL%06d", pl.getPayListID()) %>
				</h3>
			</div>
			<div class="boxs-body">
				<table class="table table-hover">
					<thead>
						<tr>
							<th>#</th>
							<th>付费项目名称</th>
							<th>数量</th>
							<th>单价</th>
							<th>总价</th>
						</tr>
					</thead>
					<tbody>
						<%
							int id = 1;
								for (Product p : pl.getProducts()) {
						%>
						<tr>
							<td><%=id++%></td>
							<td><%=p.getProductName()%></td>
							<td><%=p.getCount()%></td>
							<td><%=p.getProductPrice()%>¥</td>
							<td><%=p.getProductPrice() * p.getCount()%>¥</td>
						</tr>
						<%
							}
						%>
					</tbody>
				</table>
			</div>
		</section>
		<%
			}
		%>